package com.base.app_core.model;

import android.text.TextUtils;


/**
 * Created by tsingheng on 2017/2/27.
 */
public class Status {

	private int succeed; //固定是1,所以这个字段没什么用

	private String errorCode;

	private String errorDesc;

	public int getSucceed() {
		return succeed;
	}

	public void setSucceed(int succeed) {
		this.succeed = succeed;
	}

	public String getErrorCode() {
		return TextUtils.isEmpty(errorCode) ? "0" : errorCode;
	}

	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}

	public String getErrorDesc() {
		return errorDesc;
	}

	public void setErrorDesc(String errorDesc) {
		this.errorDesc = errorDesc;
	}
}
